import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
// global css
import '@/assets/styles/index.scss'

import PageHeader from '@/components/PageHeader'
import PageBottom from '@/components/PageBottom'
const app = createApp(App)
app.use(router);
app.use(ElementPlus);
app.component('PageHeader', PageHeader);
app.component('PageBottom', PageBottom);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.mount('#app');
